<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>  
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags/table" %>
<%@ taglib prefix="f" tagdir="/WEB-INF/tags/form" %>
<div class="register_div">
	<f:wrapper action="../system/perform_registration.htm" commandName="user">
		<div class="register_title_div">
			<h1><spring:message code="form.register.title" /></h1>
		</div>
		<t:line cssClass="line_form_input">
			<f:input property="username">
				<c:if test="${not empty unique}"><spring:message code="User.username.unique"/></c:if>
			</f:input>
		</t:line>
		<t:line cssClass="line_form_password">
			<f:password property="password" />
		</t:line>
		<t:line cssClass="line_form_input">
			<f:input property="email" />
		</t:line>
		<t:line cssClass="line_form_buttons">
			<f:buttons form_index="1" submit="true" custom_submit_code="form.register.register"/>
		</t:line>
	</f:wrapper>
</div>